package com.futures.investm.constant;

public class Api {
    //host-->
    public static final String BASE_URL_OLD = "http://data.yingju8.com/";
    public static final String BASE_URL = "http://data.fk7h.com/";
    //资讯类-分类资讯列表
//    public static final String ARTICLE_LIST = "/yapi/article/alist";
    public static final String ARTICLE_LIST = "yapi/article/alistpage";


    //财经日历搜索
    public static final String CJRL = "yapi/index/cjrl";
    //获取期货列表,国际期货列表
    public static final String GET_FUTURE_LIST = "yapi/exchange/lists";
    //期货详情,WEBVIEW页面  + ?symbol
    public static final String GET_FUTURE_DETAIL = "http://stock.yingju8.com/home/charts";


    //获取财经事件
    public static final String GET_CJSJ = "yapi/index/cjevent";


    //时讯
//    public static final String REAL_TIME_SCAN = "yapi/article/alist/cid/1/limit/10";
    public static final String REAL_TIME_SCAN = "yapi/article/alist?";



//    https://data.yingju8.com/yapi/exchange/lists?type=sh
    //国内期货
    public static final String CN_FUTURES = "yapi/exchange/lists?type=sh";
//    public static final String CN_FUTURES = "yapi/qq_finance/lists?";

    //时讯
    public static final String NEWS_SCAN = "yapi/article/alist/cid/1/limit";


    /**
     *   接口所在文档位置：期货->全球期货->外汇期货 行情信息
     *  symbol：期货代码 （如果带参数就返回单个。否则就返回全部,多个用英文逗号“,”隔开）
     *  type:(类型（1 外汇期货 2贵金属 3工业品 4农产品 5能源 6全球股指期货）) .
     *
     *  TODO 不加任何参数则默认为外汇数据
     */
    //外汇
    public static final String MARKET_URL = "yapi/Foreign/futures_list?";

    //国内期货---H5 K线图
    public static final String HTML_CN_KLINE = "http://stock.yingju8.com/home/charts?param=";
    //国外期货---H5 K线图
    public static final String HTML_F_KLINE = "http://stock.yingju8.com/home/charts?symbol=";


    /**
     * 热门分析师文章
     */
    public static final String HOT_ANALYST_ARTICLE = "yapi/article/alist/?";

    /**
     * 直盘/交叉盘行情
     */
    public static final String MARKET_URL_X = "yapi/exchange/forex?";

    public static final String WEATHER = "yapi/weather?";


    //数字货币资料库
    //    http://data.yingju8.com/yapi/Currency/coin
    public static final String CURRENCY_URL = "yapi/Currency/coin";



    //比特币列表
    public static final String COIN_MARKET = "yapi/Currency/bihucj";
    //比特币快讯
    public static final String COIN_FLASH = "yapi/Dubiwang/news";
//    http://data.fk7h.com/yapi/Dubiwang/blockchain?tid=1&page=1
    public static final String COIN_ARTICLE = "yapi/Dubiwang/blockchain?";


    //涨跌行情
//    http://data.fk7h.com/yapi/Dubiwang/ups_downs_24h
    public static final String UPS_DOWNS = "yapi/Dubiwang/ups_downs_24h";

//    http://data.fk7h.com/yapi/Dubiwang/exchange?filter&code&type&page=1

    //交易所
    public static final String EXCHANGE = "yapi/Dubiwang/exchange?filter&code&type&page=1";

//    http://data.fk7h.com/
    //百科
    public static final String ARTICLE = "yapi/article/alistpage?category=124&page=1";

    //https://data.fk7h.com/
    //百科详情
    public static final String WEB_URL = "portal/article/article/?id=";

    //http://data.fk7h.com/yapi/Dubiwang/turnoverfive  资金流向
    public static final String TURNOVERFIVE = "yapi/Dubiwang/turnoverfive";

    //http://data.fk7h.com/yapi/Currency/news?page=1&type=media
    //精选
    public static final String CURRENCY_NEWS = "yapi/Currency/news?";

//    https://data.fk7h.com/yapi/article/alist 国际快讯
    public static final String FOREIGN_URL = "yapi/article/alist";


}